const getters = {
  // 在根级的getters上 开发子模块的属性给别人看 给别人用
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  themeColor: state => state.app.themeColor,
  token: state => state.user.token,
  studentname: state => state.user.userInfo.studentname,
  avatar: state => state.user.userInfo.avatar,
  sex: state => state.user.userInfo.sex,
  studentid: state => state.user.userInfo.studentid,
  routes: state => state.permission.routes
  // visitedViews: state => state.tagsView.visitedViews
  // cachedViews: state => state.tagsView.cachedViews
}
export default getters
